package com.xcc.common.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xcc.common.mapper.AddressMapper;
import java.util.List;
import com.xcc.common.entry.Address;
import com.xcc.common.service.AddressService;

/**
 * @name: frosty
 * @description :
 * @date: 2019/11/8
 */
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address> implements AddressService {

    @Override
    public int updateBatch(List<Address> list) {
        return baseMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Address> list) {
        return baseMapper.batchInsert(list);
    }
}

